package com.lovo.pay.service;

import com.lovo.common.config.FeignConfig;
import com.lovo.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value="shop-commodity",configuration = FeignConfig.class)
public interface ICommodityService {
    @PutMapping("/commodities/updateStock/{id}")
    Result updateStock(@PathVariable("id") Long id);
}
